<html>
<head>
    <meta charset="UTF-8">
   
<body>
<?php
$row=$data['cartoons'];
require "head.php";

?>

<link href="./assets/css/bootstrap.min.css" rel="stylesheet">
  <script src="./assets/js/jQuery.min.js"></script>
  <script src="./assets/js/bootstrap.min.js"></script> 


<!--nav结束-->  
<div class="row">
  <div class="col-md-12">
 
    <div class="row">
      <div class="col-md-12">
      <h2><font color=yellow>日本</font></h2>
       <p class="text-right"><a href="index.php?c=index&m=listall&tid=1"><font color=yellow>See all</font></a></p>
        </div>
        <ul class="list-inline row text-center">
        <?php 
      foreach ($data['cartoons'] as $row ) {    
     if($row['tid']==1){?>
       
        <li class="col-md-2">
        <div class="movie-image">

          <a href="#"><span class="play"><span class="name">X-MAN</span></span><img src="posters/<?php  echo $row["pic"];?>" class="movie-image"></a></div>

          <p><a href="index.php?c=index&m=show&cid=<?php echo $row['cid']; ?>"><?php echo $row["cartoonname"];?></a></p>
        </li>
        <?php }  } ?>
        </ul>

      </div>
 
    <div class="row">
      <div class="col-md-12">
        <h2><font color=yellow>大陆</font></h2>
        <p class="text-right"><a href="index.php?c=index&m=listall&tid=2"><font color=yellow>See all</font></a></p>
         </div>
        <ul class="list-inline row text-center">
        <?php foreach ($data['cartoons'] as $row ) {    
     if($row['tid']==2){?>
        <li class="col-md-2">
        <div class="movie-image">

          <a href="#"><span class="play"><span class="name">X-MAN</span></span>
          <img src="posters/<?php  echo $row["pic"];?>" class="movie-image" >
          </div>

         <p><a href="index.php?c=index&m=show&cid=<?php echo $row['cid']; ?>"><?php echo $row["cartoonname"];?></a></p>
  
        </li>
         <?php }  } ?>
        </ul>   
     
    </div>

    <div class="row">
      <div class="col-md-12">
        <h2><font color=yellow>欧美</font></h2>

         <p class="text-right"><a href="index.php?c=index&m=listall&tid=3"><font color=yellow>See all</font></a></p>
         </div>
        <ul class="list-inline row text-center">
      <?php foreach ($data['cartoons'] as $row ) {    
     if($row['tid']==3){?>
        <li class="col-md-2">
        <div class="movie-image">
         <a href="#"><span class="play"><span class="name">X-MAN</span></span>
          <img src="posters/<?php  echo $row["pic"];?>" class="movie-image" >
          </div>

          <p><a href="index.php?c=index&m=show&cid=<?php echo $row['cid']; ?>"><?php echo $row["cartoonname"];?></a></p>
  
        </li>
       <?php }  } ?>
        </ul>   
    
    </div>
 

    <div class="row">
      <div class="col-md-12">
        <h2><font color=yellow>其它</font></h2>
         <p class="text-right"><a href="index.php?c=index&m=listall&tid=4"><font color=yellow>See all</font></a></p>
         </div>
        <ul class="list-inline row text-center">
        <?php foreach ($data['cartoons'] as $row ) {    
     if($row['tid']==4){?>
        <li class="col-md-2">
        <div class="movie-image">

          <a href="#"><span class="play"><span class="name">X-MAN</span></span>
          <img src="posters/<?php  echo $row["pic"];?>" class="movie-image" >
          </div>

         <p><a href="index.php?c=index&m=show&cid=<?php echo $row['cid']; ?>"><?php echo $row["cartoonname"];?></a></p>
  
        </li>
        <?php  }  } ?>
        </ul>   
      </div>
    

     </div>
  </div>
<hr>
<div id="footer">
    <p> &copy; 2016 Comic-and-Animation ALL BY<a href="http://www.iqiyi.com/dongman/index.html" target="_blank" title="The Sweetest CSS Templates WorldWide">www.iqiyi.com/dongman/index.html</a></p>
  </div>

</div>
</body>
</html>









